package com.ipad.net.entity;

/**
 * Created by sev-14 on 2018/4/26.
 */

public class UpdateEntity {


    /**
     * code : 200
     * message : 有升级的版本
     * data : {"version_code":1,"newest_version":2,"lowest_version":"1.0.0","upgrade_url":"https://img01.heyimed.com/app/breath.apk"}
     */

    private int code;
    private String message;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * version_code : 1
         * newest_version : 2
         * lowest_version : 1.0.0
         * upgrade_url : https://img01.heyimed.com/app/breath.apk
         */

        private int version_code;
        private int newest_version;
        private String lowest_version;
        private String upgrade_url;

        public int getVersion_code() {
            return version_code;
        }

        public void setVersion_code(int version_code) {
            this.version_code = version_code;
        }

        public int getNewest_version() {
            return newest_version;
        }

        public void setNewest_version(int newest_version) {
            this.newest_version = newest_version;
        }

        public String getLowest_version() {
            return lowest_version;
        }

        public void setLowest_version(String lowest_version) {
            this.lowest_version = lowest_version;
        }

        public String getUpgrade_url() {
            return upgrade_url;
        }

        public void setUpgrade_url(String upgrade_url) {
            this.upgrade_url = upgrade_url;
        }
    }
}
